package com.ywl.designpattern.observer;

/**
 * @author yuwl
 * @description 主题
 * @since 2024-05-10 09:38
 */
public interface Subject {

    void registerObserver(Observer observer);
    void removeObserver(Observer observer);
    void notifyObservers();
}
